<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11"
                        style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/archives/repository" aria-expanded="false">${i18n('archives.rlm')} </a></li>
                        <li class="active"><a href="/app/core/archives/repository?view=create" aria-expanded="true">${i18n('archives.rlc')}</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding-top: 0px;">
                        <div class="row">
                            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12">
                                <form class="form-horizontal">
                                    <table class="table table-hover table-striped table-bordered">
                                        <tr>
                                            <td width="20%">${i18n('system.sortNo')}：</td>
                                            <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo"
                                                                   id="sortNo" class="form-control" maxlength="10"></td>
                                            <td width="20%">档案库标题：</td>
                                            <td width="30%">
                                                <input placeholder="档案库标题" type="text" name="title" id="title"
                                                       maxlength="100" class="form-control"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">查阅权限（人员）：</td>
                                            <td width="30%" colspan="2"><textarea placeholder="查阅权限" rows="5"
                                                                                  name="userPriv" id="userPriv"
                                                                                  class="form-control"
                                                                                  readonly="readonly"></textarea></td>
                                            <td width="30%"><a style="cursor: pointer;" opt-id="userPriv"
                                                               onclick="selectUser(this,'true');">${i18n('system.select')}</a> <a
                                                    style="cursor: pointer;" onclick="clearSelect('userPriv')">${i18n('system.clear')}</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">查阅权限（部门）：</td>
                                            <td width="30%" colspan="2"><textarea placeholder="查阅权限" rows="5"
                                                                                  name="deptPriv" id="deptPriv"
                                                                                  class="form-control"
                                                                                  readonly="readonly"></textarea></td>
                                            <td width="30%"><a style="cursor: pointer;" opt-id="deptPriv"
                                                               onclick="selectDept(this,'true');">${i18n('system.select')}</a> <a
                                                    style="cursor: pointer;" onclick="clearSelect('deptPriv')">${i18n('system.clear')}</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">查阅权限（职务）：</td>
                                            <td width="30%" colspan="2"><textarea placeholder="查阅权限" rows="5"
                                                                                  name="levelPriv" id="levelPriv"
                                                                                  class="form-control"
                                                                                  readonly="readonly"></textarea></td>
                                            <td width="30%"><a style="cursor: pointer;" opt-id="levelPriv"
                                                               onclick="selectUserLevel(this,'true');">${i18n('system.select')}</a> <a
                                                    style="cursor: pointer;" onclick="clearSelect('levelPriv')">${i18n('system.clear')}</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">管理员：</td>
                                            <td width="30%" colspan="2"><textarea placeholder="管理员" rows="5"
                                                                                  name="manageUser" id="manageUser"
                                                                                  class="form-control"
                                                                                  readonly="readonly"></textarea></td>
                                            <td width="30%"><a style="cursor: pointer;" opt-id="manageUser"
                                                               onclick="selectUser(this,'false');">${i18n('system.select')}</a> <a
                                                    style="cursor: pointer;" onclick="clearSelect('managePriv')">${i18n('system.clear')}</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">备注：</td>
                                            <td width="30%" colspan="3"><textarea id="remark" name="remark"
                                                                                  class="form-control"
                                                                                  rows="5"></textarea></td>
                                        </tr>
                                        <tr>
                                            <td colspan="4" align="center">
                                                <a href="javascript:void(0);" class="btn btn-primary js-add-save">${i18n('system.create')}</a>
                                            </td>
                                        </tr>
                                    </table>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/archives/repository.js"></script>
</body>
</html>
